// 01login/reg/regPerfect/joinAgreement/joinAgreement.js
var co = require("../../../../resource/js/common.js")
var app = getApp()
var _this, _data
Page({
   data: {
      Agreement:[],
   },
   onLoad: function (options) {
      _this = this
      _data = this.data
      _this.getJoinAgreement()
   },
   //获取旧约回收帮人员加入协议
   getJoinAgreement() {
      co.getShareApi("jyhs/Usermg/get_JYHS_Agreement", {
         type: 2
      }, function (res) {
         if (res.code == 0) {
            _this.setData({
               Agreement: res.data
            })
         }
      })
   },
})